import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:myturngame/Theme.dart';
import 'package:myturngame/widget/text_decoration.dart';

///地图上的角色
class MapRoleLayout extends StatelessWidget {
  const MapRoleLayout({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return BorderContainer(Column(
      children: [
        //NPC列表
        npcList(),
        const Divider(height: 5),
        enemyList()
      ],
    ));
  }

  Widget npcList() {
    return BorderContainer(Column(
      children: [
        const Text("NPC列表", style: textStyle3),
        Row(
          children: [BorderContainer(const Text("渔夫", style: textStyle3))],
        )
      ],
    ));
  }
  Widget enemyList() {
    return BorderContainer(Column(
      children: [
        const Text("怪物列表", style: textStyle3),
        Row(
          children: [BorderContainer(const Text("天魁星", style: textStyle3))],
        )
      ],
    ));
  }
}
